package projetstackoverflow

class Answer extends Message {
	Question question
	Boolean selected
	static belongsTo = [Question]
	
    static constraints = {
		selected(nullable:true)
    }
}
